package com.tuda.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName TudaRegion
 * @Description TODO
 * @Author Admin
 * @Date 2023/7/17 10:48
 * @Version 1.0
 **/
@ApiModel("省市区")
public class TudaRegion {
    @ApiModelProperty(name = "id", value = "主键编号", dataType = "Long")
    private Long id;

    @ApiModelProperty(name = "parentId", value = "父id默认：0", dataType = "Long")
    private Long parentId;

    @ApiModelProperty(name = "name", value = "城市名称", dataType = "String")
    private String name;

    @ApiModelProperty(name = "level", value = "类型0-国家1-省2-市3-区", dataType = "Integer")
    private Integer level;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }
}
